<?php


namespace app\admin\system\validate;


use think\Validate;

class AdminLoginValidate extends BaseValidate
{
    protected $rule =   [
        'username'  => 'require|min:4',
        'password'   => 'require|min:6',
    ];

    protected $field  =   [
        'username' => '登录账户',
        'password' => '登录密码',
    ];
}